<template>
  <div class="login">
    <div class="left  hidden-sm-and-down"></div>
    <div class="right">
     <el-card>
       <login-form></login-form>
     </el-card>
    </div>
  </div>
</template>

<script>


import LoginForm from '@/views/login/loginForm.vue'

export default {
  name: 'Login',
  components: { LoginForm }
}
</script>

<style lang="scss">
$bg: #283443;
$light_gray: #fff;
$cursor: #fff;
@supports (-webkit-mask: none) and (not (cater-color: $cursor)) {
  .login-container .el-input input {
    color: $cursor;
  }
}

.login {
  .el-input {
    display: inline-block;
    height: 47px;
    width: 85%;

    input {
      background: transparent;
      border: 0px;
      -webkit-appearance: none;
      border-radius: 0px;
      padding: 12px 5px 12px 15px;
      color: $bg;
      height: 47px;
      caret-color: $bg;

      &:-webkit-autofill {
        box-shadow: 0 0 0px 1000px $bg inset !important;
        -webkit-text-fill-color: $cursor !important;
      }
    }
  }

  .el-form-item {
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgb(250, 250, 250);
    border-radius: 5px;
    color: #454545;
    margin-bottom: 20px;
  }
}
</style>

<style lang="scss" scoped>
.login {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  background-color: #ffffff;

  .left {
    width: 60%;
    height: 100%;
    background: url("../../assets/images/loginBg.png") no-repeat;
    background-size: 100% 100%;

  }

  .right {
    flex: 1;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    .el-card{
      padding: 40px;
    }
  }
}
</style>
